package com.lechi.web.job;

import com.lechi.web.system.domain.IotScheduleJobBo;
import lombok.extern.slf4j.Slf4j;
import org.quartz.JobExecutionContext;

/**
 * 发送指令定时任务处理
 *
 * @author yg
 */
@Slf4j
public class SendCmdJobExecution extends AbstractQuartzJob {

    @Override
    protected void doExecute(JobExecutionContext context, IotScheduleJobBo job) {
//        log.error("发送指令定时任务开始时间：{}， 参数：{}", LocalDateTime.now(), job);
        sendCmd(job);
    }
}
